<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1, minimum-scale=1.0, shrink-to-fit=no"
    />
    <title>纸飞机计算器</title>
    <!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/vue.css"> -->
    <!-- 1. Theme -->
    <link
      rel="stylesheet"
      href="https://unpkg.com/docsify-themeable/dist/css/theme-simple.css"
    />
    <!-- <link rel="stylesheet" href="https://unpkg.com/docsify-themeable/dist/css/theme-simple-dark.css"> -->
    <!-- <link rel="stylesheet" href="https://unpkg.com/docsify-themeable/dist/css/theme-defaults.css"> -->

    <!-- 2. PrismJS Themes -->
    <!-- <link rel="stylesheet" href="https://unpkg.com/prism-github/prism-github.css"> -->
    <!-- <link rel="stylesheet" href="https://unpkg.com/prism-theme-one-dark/prism-onedark.css"> -->

    <!-- 3. Custom Theme Properties -->
    <style>
      :root {
        /* Reduce the font size */
        /* --base-font-size: 14px; */

        /* Change the theme color hue (0-360) */
        --theme-hue: 15;
        --cover-max-width: 700;
        --sidebar-nav-link-before-content-l2: "-";
        --code-inline-color: rgb(243, 60, 60);
        --code-font-size: 0.8rem;
        --code-font-weight: bolder;

        /* Add sidebar navigation bullets */
        /* --sidebar-nav-link-before-content-l1: '😀'; 
			--sidebar-nav-link-before-content-l2: '💩'; */
      }
      .cover .mask {
        background: linear-gradient(
          to left bottom,
          hsl(172, 100%, 85%) 0%,
          hsl(15, 100%, 85%) 100%
        );
        visibility: visible;
      }

      .cover h1 span {
        text-shadow: grey 3px 3px 3px;
      }

      .sidebar ul li a {
        color: #505d6b;
        font-size: 14px;
        font-weight: normal;
        overflow: hidden;
        text-decoration: none;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    </style>
  </head>

  <body>
    <!-- <a href="http://dnf.17173.com/" target="_blank" style="position: absolute;z-index: 40;top: 30px;right:30px">
		<img src="https://ue.17173cdn.com/a/www/index/2016v2/img/logo-2018.png">
	</a> -->
    <div id="app"></div>

    <script>
      // 4. Docsify Configuration
      window.$docsify = {
        name: "DNF计算器",
        repo: "https://github.com/wxh0402/DNFCalculating",
        coverpage: "HTMLSet/coverpage.md",
        homepage: "README.md",
        // homepage   : 'https://raw.githubusercontent.com/jhildenbiddle/docsify-themeable/master/README.md',
        loadSidebar: "HTMLSet/sidebar.md",
        auto2top: true,
        subMaxLevel: 2,
        maxLevel: 3,
        onlyCover: false,
        topMargin: 90,
        // 5. docsify-themeable
        themeable: {
          // readyTransition : false,
          // responsiveTables: false
        },
        plugins: [
          function (hook, vm) {
            // load livere
            hook.beforeEach(function (content) {
              var comment = "";
              if (content.indexOf("和计算器相关的BUG、意见可在此处反馈") > 0)
                comment =
                  "<div id='lv-container' data-id='city' data-uid='MTAyMC80NjcwNC8yMzIxNA=='></div>\n\n----\n";
              return content + comment;
            });

            hook.doneEach(function () {
              (function (d, s) {
                var j,
                  e = d.getElementsByTagName(s)[0];
                if (typeof LivereTower === "function") {
                  return;
                }
                j = d.createElement(s);
                j.src = "https://cdn-city.livere.com/js/embed.dist.js";
                j.async = true;
                e.parentNode.insertBefore(j, e);
              })(document, "script");
            });
          },
        ],
      };
    </script>

    <!-- Required: docsify + docsify-themeable -->
    <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script>
    <script src="https://unpkg.com/docsify/lib/docsify.min.js"></script>
    <script src="https://unpkg.com/docsify-themeable"></script>

    <!-- 6. Docsify Plugins -->
    <script src="https://unpkg.com/docsify/lib/plugins/search.js"></script>
    <!-- <script src="https://unpkg.com/docsify-copy-code"></script> -->
    <!-- <script src="https://unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script> -->
    <!-- <script src="https://unpkg.com/docsify/lib/plugins/zoom-image.min.js"></script> -->
  </body>
</html>
